package constructor11;

public class AndroidEngineer extends Development {

    public AndroidEngineer(String id,String name,boolean marrystatus){
        super(id,name,marrystatus);
    }

    public AndroidEngineer(String id, String name) {
        super(id, name);
    }

    @Override
    public void work() {
        System.out.println("员工号为" + getId() + "的" + (isMarrystatus() ? "已婚" : "未婚") + "的" + getName() + "员工正在研发淘宝手机客户端软件");
    }
}
